package com.mornd.gulimall.product.entity.vo.spusave;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;

/**
 * @author: mornd
 * @dateTime: 2023/8/3 - 21:40
 * sku 图片
 */

@Getter
@Setter
public class ImageVo {

    @NotBlank
    private String url;

    @Range(max = 1)
    private int defaultImg;

}
